<div class="blazorise-codeblock">
<div class="html"><pre>
&lt;Blazorise.ThemeProvider Theme=&quot;<span class="atSign">&#64;</span>theme&quot;&gt;
    <span class="htmlTagDelimiter">&lt;</span><span class="htmlElementName">Router</span> <span class="htmlAttributeName">AppAssembly</span><span class="htmlOperator">=</span><span class="quot">&quot;</span><span class="htmlAttributeValue">typeof(App).Assembly</span><span class="quot">&quot;</span> <span class="htmlTagDelimiter">/&gt;</span>
&lt;/Blazorise.ThemeProvider&gt;
</pre></div>
<div class="csharp"><pre>
<span class="atSign">&#64;</span>code{
    <span class="keyword">private</span> Theme theme = <span class="keyword">new</span> Theme
    {
        ColorOptions = <span class="keyword">new</span> ThemeColorOptions
        {
            Primary = <span class="string">&quot;#45B1E8&quot;</span>,
            Secondary = <span class="string">&quot;#A65529&quot;</span>,
            <span class="comment">// other</span>
        }
    };
}
</pre></div>
</div>
